#include "pairrace.h"
#include <QDebug>

PairRace::PairRace(int tour, QObject *parent) :
    templatePlugin(tour, parent),
    lib_name(tr("Speed (Pair race)")),
    lib_code(QString::fromLocal8Bit("0800021511Я")),
    lib_ver("develop")
{
}

void PairRace::pluginInfo(QString &vrvs_name, QString &vrvs_code, QString &version)
{
    vrvs_name = lib_name;
    vrvs_code = lib_code;
    version = lib_ver;
}

templatePlugin *pinit()
{
    return new PairRace();
}

void prelease(templatePlugin *plug)
{
    delete plug;
}

bool PairRace::testDatabaseStructure(QSqlDatabase *db)
{
    qWarning() << "Test database structure for PairRace plugin not implicted";
    return false;
}
